<!doctype html>
<html class="no-js" lang="">
{include file="boot/header" title="订单列表" description="" /}
<body>
  <!--[if lte IE 9]>
            <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
        <![endif]-->

  <!-- Add your site or application content here -->
  <div class="order_list page_container top_space">
    <a href="javascript:;" class="filter" id="showIOSActionSheet" onclick="selectOrderList()" orderType="mine">全部订单<i class="iconfont">&#xe63d;</i></a>

    <ul class="order_list_t">
      {volist name="list" id="vo"}
      <a href="#"   class="order_item"><!--{:url('order/orderDetail')}?order_id={$vo.order_id}-->
        <img src="{$vo.task.goods_main_pic}" alt="" onclick="order_detail_act('{$vo.order_id}')">

        <div class="info">
          <h2>{$vo.shop_name}</h2>
          <p>订单号：{$vo.order_sno}</p>
          <p>
            <span class="status">{if $vo.task_type==1}精刷单{elseif $vo.task_type==2 /}隔日单{elseif $vo.task_type==3 /}流量单{/if}</span>
            <i>{if $vo.is_cancel==1}{if $vo.order_state ==1 }已撤销{else /}{$status_list[$vo.status]}{/if}{else /}已取消{/if}</i>
          </p>

          <p class="time_and_action">
            <span>{$vo.create_time}</span>
            {if $vo.status!=13 && $vo.is_cancel!=2 && $vo.order_state!=1 && $vo.status<5 }
            <button onclick="order_cancel_act('{$vo.order_id}')">可取消</button>
            {/if}
            <button style="margin-left: 1em" onclick="order_detail('{$vo.take_key_id}')">订单详情</button>
          </p>

        </div>
      </a>
      {/volist}
    </ul>

    <div class="weui-loadmore">
      <i class="weui-loading"></i>
      <span class="weui-loadmore__tips">正在加载</span>
    </div>
  </div>
  {include file="boot/menu"/}
  {include file="boot/foot"/}
</body>

</html>
